<?php

require_once 'Zend/View/Helper/Abstract.php';

class Core_View_Helper_RenderSidebar extends Zend_View_Helper_Abstract
{
    /**
     * comments
     */
    public function renderSidebar()
    {
        $path = str_replace('.phtml', '.sidebar.phtml', $this->view->actionScript);

        return $this->view->render($path);
    }
}